package com.anran.common.constant;

import lombok.Getter;

/**
 * 通用常量
 */
public enum CommonStatusEnum {
    /**
     * 成功
     */
    SUCCESS(200,"success"),
    /**
     * 失败
     */
    FAIL(500,"fail");

    @Getter
    private int code;
    @Getter
    private String value;

    CommonStatusEnum(int code, String value) {
        this.code = code;
        this.value = value;
    }
}
